﻿#region Using Statements
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
#endregion

namespace RhinoXNA.RhinoGraphics.Rhino2D
{
    public abstract class IRhinoDrawable : IRhinoGraphicsComponent
    {
        public Vector2 Position { get; set; }
        public float Rotation { get; set; }
        public Vector2 Scale { get; set; }

        public bool isVisible { get; set; }
        public float Layer { get; set; }

        public String Handle { get; set; }

        protected SpriteBatch _sBatch;

        public IRhinoDrawable(SpriteBatch sBatch)
        {
            _sBatch = sBatch;
        }

        #region IRhinoGraphicsComponent Members

        public abstract void Initialize(string fileToLoad);

        public abstract void Update(GameTime gameTime);

        public abstract void Render();

        #endregion
    }
}
